package com.commerce.service;

import com.commerce.model.Role;
import com.commerce.page.Page;
import com.commerce.page.RolePage;

import java.util.List;

/**
 * @author wyj
 * @Title:
 * @Description:
 */
public interface RoleService extends BeanService<Role>{


    /**
     * 分页查询
     * @param page
     * @return
     */
    Page selectByPage(RolePage page);

    /**
     * 根据多个ID查询
     * @param ids
     * @return
     */
    List<Role> selectByRoleIds(String ids);
}
